var mysql = require('mysql');
const conf = require('./conf.js');

var connection = mysql.createConnection(conf.mysql);

conf.mysql.connectionLimit = 10;

var pool = mysql.createPool(conf.mysql);

module.exports = { connection: connection, pool: pool };
